package top.archiesean;


import top.archiesean.pojo.User;
import top.archiesean.proxy.RpcClientProxy;
import top.archiesean.service.IUser;

/**
 * 测试类
 */
public class ClientBoostrap {
    public static void main(String[] args) {
        IUser iUser = (IUser) RpcClientProxy.createProxy(IUser.class);
        User user = iUser.getByUserId(2);
        System.out.println(user);
    }
}